﻿CREATE FUNCTION [dbo].[ToUniversalTime]
(@standardTimeZoneName NVARCHAR (4000), @localTime DATETIME)
RETURNS DATETIME
AS
 EXTERNAL NAME [SqlUtils].[UserDefinedFunctions].[ToUniversalTime]


GO
EXECUTE sp_addextendedproperty @name = N'AutoDeployed', @value = N'yes', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'ToUniversalTime';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFile', @value = N'ToUniversalTime.cs', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'ToUniversalTime';


GO
EXECUTE sp_addextendedproperty @name = N'SqlAssemblyFileLine', @value = 10, @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'FUNCTION', @level1name = N'ToUniversalTime';

